import request from '@/utils/request'

export function addCustomer(data) {
    return request({
        url: '/customer/addCustomer',
        method: 'post',
        data
    })
}

export function deleteCustomerByCustomerID(data) {
    return request({
        url: '/customer/deleteCustomerByCustomerID',
        method: 'post',
        data
    })
}

export function getCustomerList(data) {
    return request({
        url: '/customer/getCustomerList',
        method: 'get',
        params: data
    })
}

export function getCustomerByID(data) {
    return request({
        url: '/customer/getCustomerByID',
        method: 'get',
        params: data
    })
}


